package com.ecommerce.dal.dao;

import java.util.List;

import com.ecommerce.dal.entity.Item;

public interface IItemDAO {
	void save(Item item);
	void update(Item item);
	void delete(Item item);
	Item findByItemId(long itemId);
	List<Item> findItemByCategory(long categoryId);
	List<Item> findItemByClientId(long clientId);
	List<Item> findItemByClientUserName(String clientUsername);
	List<Item> findDiscountedItems();
	List<Item> findItemByDiscount(Double minDiscount,
			Double maxDiscount) ;
	List<Item> findItemByCompany(long companyId);
	List<Item> findItemByPrice(Double minPrice, Double maxPrice) ;

}
